<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ChangePassword.aspx.cs" Inherits="ChangePassword" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Power Attendance</title>
<link rel="stylesheet" type="text/css" href="css/login.css" />
<link rel="shortcut icon" href="images/Power_Attendance.ico" />
</head>
<body>
<form id="Form1" name="form1" runat="server"> 
<div class="main">
<div class="u_title">New Password:</div>
<div class="u_field">
  <label>
	<input type="password" id="uname" name="uname"  runat="server"/>
	
  </label><asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
			ControlToValidate="uname" Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator>
</div>
<div class="p_title">Confirm Password:</div>
<div class="p_field">
  <label>
<input type="password" id="psw" name="psw" runat="server"/><asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
			ControlToValidate="psw" Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator>

  </label>
</div><div class="p_field"><asp:Label ID="Label1" runat="server" ForeColor="Red"></asp:Label></div>

  <div class="enter">
    <label>

<asp:Button ID="enter" runat="server" Text="" onclick="Button1_Click" />

    </label>
  </div>
<div class="error"><asp:Label ID="ErrorMessage" runat="server" ForeColor="Red"></asp:Label>
					<asp:CompareValidator ID="CompareValidator2" runat="server" 
						ControlToCompare="uname" ControlToValidate="psw" 
						EnableClientScript="False" 
						ErrorMessage="Passwords not mached. Please try again."></asp:CompareValidator></div>
  
</div>                                                                                     </div>


						
       </form>
</body>
</html>

